<div class="row animate fadeIn">
    <form id="" class="form-horizontal"  method="post">
      <div class="ibox-title" style="border:none;"><h5 style="color: #00afef"><i>View Work Order</i></h5>

      </div>
        <div class="ibox-content">
            <?php foreach($wo_datus as $datus) { ?>
            <div class="form-group">
                <label class="col-lg-3 control-label">Maintenance Type</label>
                    <div class="col-lg-4">
                        <input type="text" name="" class="form-control" value="<?php echo $datus->meaning ;?>" readonly>
                    </div>    
            </div>
            <div class="form-group">
                <label class="col-lg-3 control-label">Account Name</label>
                    <div class="col-lg-4">
                        <input type="text" name="" class="form-control" value="<?php echo $datus->name ;?>" readonly>
                    </div>    
            </div>
            <div class="form-group">
                <label class="col-lg-3 control-label">Assigned to</label>
                    <div class="col-lg-4">
                        <input type="text" name="" class="form-control" value="<?php echo $datus->assigned ;?>" readonly>
                    </div>    
            </div>
            <div class="form-group">
                <label class="col-lg-3 control-label">Completed by</label>
                    <div class="col-lg-4">
                        <input type="text" name="" class="form-control" value="<?php echo $datus->completed ;?>" readonly>
                    </div>    
            </div>
            <div class="form-group">
                <label class="col-lg-3 control-label">Target Date</label>
                    <div class="col-lg-4">
                        <input type="text" name="" class="form-control" value="<?php echo $datus->target_date ;?>" readonly>
                    </div>    
            </div>
             <div class="form-group">
                <label class="col-lg-3 control-label">Completion Date</label>
                    <div class="col-lg-4">
                        <input type="text" name="" class="form-control" value="<?php echo $datus->completion_date ;?>" readonly>
                    </div>    
            </div>
            <div class="form-group">
                <label class="col-lg-3 control-label">Last Meter Reading</label>
                    <div class="col-lg-4">
                        <input type="text" name="" class="form-control" value="<?php echo $datus->last_reading ;?>" readonly>
                    </div>    
            </div>
            <div class="form-group">
                <label class="col-lg-3 control-label">New Meter Reading</label>
                    <div class="col-lg-4">
                        <input type="text" name="" class="form-control" value="<?php echo $datus->new_reading ;?>" readonly>
                    </div>    
            </div>
            <div class="form-group">
                <label class="col-lg-3 control-label">Status</label>
                    <div class="col-lg-4">
                        <input type="text" name="" class="form-control" value="<?php echo $datus->status ;?>" readonly>
                    </div>    
            </div>
            <?php } ?>
        </div>    
    </form>



</div>
<script>
            $(document).ready(function () {
                $('.i-checks').iCheck({
                    checkboxClass: 'icheckbox_square-green',
                    radioClass: 'iradio_square-green',
                });
                $('#viewX').click(function(){
                    close_view();
               });
            });
</script> 